package com.hai.qtalk.bean;

import java.io.Serializable;

/**
 * 对用户发送数据进行封装和串行化
 * @author xinhai
 *
 */
public class Information implements Serializable{
	private String fromIP;
	private int fromPort;
	private int fromUId;
	
	private String toIP;
	private int toPort;
	private int toUId;
	
	private String content;

	public String getFromIP() {
		return fromIP;
	}

	public void setFromIP(String fromIP) {
		this.fromIP = fromIP;
	}

	public int getFromPort() {
		return fromPort;
	}

	public void setFromPort(int fromPort) {
		this.fromPort = fromPort;
	}

	public int getFromUId() {
		return fromUId;
	}

	public void setFromUId(int fromUId) {
		this.fromUId = fromUId;
	}

	public String getToIP() {
		return toIP;
	}

	public void setToIP(String toIP) {
		this.toIP = toIP;
	}

	public int getToPort() {
		return toPort;
	}

	public void setToPort(int toPort) {
		this.toPort = toPort;
	}

	public int getToUId() {
		return toUId;
	}

	public void setToUId(int toUId) {
		this.toUId = toUId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
}
